<?php if (!defined('THINK_PATH')) exit();?>    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title></title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/category.css" />
    <script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/category.js"></script>
</head>
<body>

		<h2>
            <a>所在位置：商品管理>品牌列表</a>
        </h2>
         <br/>
       <table class="table1">
        <thead>
            <tr style="background:#72A9D3">
                <th width="20" align="right">ID</th>
                <th>商品类型名称</th>
                <th  width="400">操作</th>
            </tr>
        </thead>
        <tbody>
            <?php if(is_array($data)): foreach($data as $key=>$n): ?><tr class="catgorylist">
                <td align="center"><?php echo ($n["id"]); ?></td>
                <td><?php echo ($n["name"]); ?></td>
                <td>
                    <a href="<?php echo U('attrList',array('tid' => $n['id']));?>">详细信息</a> |
                    <a href="{|U('editShow',array('cid'=>$n['cid']))}">编辑</a> |
                    <a href="{|U('arc/addShow',array('cid'=>$n['cid']))}">删除该商品类型</a>
                </td>
            </tr><?php endforeach; endif; ?>
            <tr>
                <td colspan="2"></td>
                <td><a href="<?php echo U('addShow');?>"><font color='red' size="3">点击添加商品类型！</font></a></td>
            </tr>
            <tr>
                <td colspan="3" align="center"><?php echo ($page); ?></td>
            </tr>
        </tbody>
    </table>
</body>
</html>